package com.xiaoshuidi.cloud.module.report.controller.datamanage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class OverviewOfHouseRespVO {
    @Schema(description = "房源总数")
    private Long totalNum;
    @Schema(description = "已租房源数量")
    private Long rentedNum;
    @Schema(description = "已租房源占比")
    private BigDecimal rentedRate = BigDecimal.ZERO;
    @Schema(description = "预定房源数量")
    private Long scheduledNum;
    @Schema(description = "预定房源占比")
    private BigDecimal scheduledRate = BigDecimal.ZERO;
    @Schema(description = "空置房源数量")
    private Long emptyNum;
    @Schema(description = "空置房源占比")
    private BigDecimal emptyRate = BigDecimal.ZERO;
    @Schema(description = "其他房源数量")
    private Long otherNum;
    @Schema(description = "其他房源占比")
    private BigDecimal otherRate = BigDecimal.ZERO;
}
